package cn.itcast.bos.service.base;

import cn.itcast.bos.domain.base.Area;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.jpa.domain.Specification;

import java.util.ArrayList;

public interface AreaService {
   public void saveBatch(ArrayList<Area> areas);

    Page<Area> findPageData(Specification<Area> specification, PageRequest pageRequest);
}
